﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace WebAssistant.BusinessLogic.Model
{
    /// <summary>
    /// 语言资源
    /// </summary>

    [SugarTable("language_resources")]
    public class LanguageResources
    {
        /// <summary>
        /// ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
        public int Id { get; set; }

        /// <summary>
        /// 语言ID
        /// </summary>
        [SugarColumn(ColumnName = "language_id")]
        public int LanguageId { get; set; }

        /// <summary>
        /// 关键字
        /// </summary>
        [SugarColumn(ColumnName = "key")]
        public string Key { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        [SugarColumn(ColumnName = "value")]
        public string Value { get; set; }

        /// <summary>
        /// 翻译值
        /// </summary>
        [SugarColumn(ColumnName = "target_value", IsIgnore=true)]
        public string TargetValue { get; set; }
    }
}
